from fastapi import FastAPI
from utils.log_util import logger
from backend.core.confload.confload import config

app = FastAPI(title=config.project_name,
              redoc_url=config.url_prefix + '/redocs',
              description='')

@app.on_event("startup")
async def startup_event():
    logger.info("FastAPIVue开始启动")
    logger.info("FastAPIVue启动成功")